package com.qf.service.impl;

import com.qf.dao.TopicDao;
import com.qf.pojo.Topic;
import com.qf.service.TopicService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TopicServiceImpl implements TopicService {

    @Resource
    TopicDao topicDao;

    @Override
    public List<Topic> findAllTopic() {
        return topicDao.findTopic();
    }
}
